package com.atguigu.springcloud.service;


import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentService {
    @Override
    public String paymentInfoOK(Integer id) {
        return "--PaymentFallbackService--fallback paymentInfoOK";
    }

    @Override
    public String paymentInfoTimeout(Integer id) {
        return "--PaymentFallbackService--fallback paymentInfoTimeout";
    }
}
